package com.example.demo.service;

import com.example.demo.bean.User;
import com.example.demo.common.PageResult;
import java.util.List;

public interface UserService {
    User getCurrentUser();
    List<User> getAllUsers();
    User updateUser(User user);
    void deleteUser(Integer id);
    List<User> getUsersByClass(String className);
    User getUserById(Integer id);
    User getUserByUsername(String username);
    PageResult<User> getUsersByPage(int pageNum, int pageSize, String search);
} 